package com.heima.mapper;


import com.heima.poji.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

@Mapper
public interface LoginMapper {

    @Select("select * from emp where username=#{username} and password = #{password}")
    Emp loginByName(Emp emp);
}
